package cn.tedu.cinema.scheduling.mapper;

import cn.tedu.cinema.scheduling.pojo.dto.SchedulingQuery;
import cn.tedu.cinema.scheduling.pojo.entity.Scheduling;
import cn.tedu.cinema.scheduling.pojo.vo.SchedulingVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SchedulingMapper {

    void insert(Scheduling scheduling);

    List<SchedulingVO> select(SchedulingQuery schedulingQuery);

    void deleteScheduling(Integer id);

    SchedulingVO selectById(Integer id);

    void update(Scheduling scheduling);


    List<SchedulingVO> selectWeekCount(SchedulingQuery schedulingQuery);

    List<SchedulingVO> selectCount(SchedulingQuery schedulingQuery);

    List<SchedulingVO> selectshijian(SchedulingQuery schedulingQuery);
}
